<h1>Player List</h1>
  
<div id='partial_summary'>
  <table>
    <thead>
        <tr>      
          <th>Player</th>
          <th>Race</th>
          <th>Class</th>
          <th>Guild Rank</th>
        </tr>  
    </thead>
    <tbody>
    <% @characters.each do |character| %>
    <tr>
    	<td><%= link_to character.name, :action => "show", :id => character.id %></td>
    	<td><%= character.race.name %></td>
    	<td><%= character.chrclass.name %></td>
    	<td><%= character.guildrank.name %></td>    	    	
	</tr>
	<% end %>
	</tbody>

  </table>
  <br>
  
  <%= link_to "New", 
         :controller => "characters", 
         :action => "new" %>
</div>